<template>
  <div id="app" style="height: 100%; overflow: scroll">
    <router-view />
    <Tab :tabitems="items" />
  </div>
</template>
<script>
import Tab from "./components/TabBar/tabs";
export default {
  components: {
    Tab
  },
  data() {
    return {
      color: "#DF2E26",
      items: [
        {
          title: "首页",
          path: "/home",
          icon: require("./components/TabBar/unHome.png"),
          iconSelect: require("./components/TabBar/Home.png")
        },
        {
          title: "找借贷",
          path: "/findloan",
          icon: require("./components/TabBar/unSign.png"),
          iconSelect: require("./components/TabBar/Sign.png")
        },
        {
          title: "推广",
          path: "/share",
          icon: require("./components/TabBar/unConsu.png"),
          iconSelect: require("./components/TabBar/Consu.png")
        },
        {
          title: "我的",
          path: "/mine",
          icon: require("./components/TabBar/unMine.png"),
          iconSelect: require("./components/TabBar/Mine.png")
        }
      ]
    };
  },
};
</script>
<style lang="stylus"></style>
